package com.youlai.boot.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;

import com.youlai.boot.common.base.BaseEntity;
import lombok.*;

/**
 * @TableName sp_order_detail
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sp_order_detail")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OrderDetail extends BaseEntity {
    @Serial
    private static final long serialVersionUID = 4929640072036442651L;
    @TableField(value = "order_id")
    private Long orderId;

    @TableField("product_id")
    private Long productId;

    @TableField("product_name")
    private String productName;

    @TableField("pic")
    private String pic;

    @TableField("quantity")
    private Integer quantity;

    @TableField("cost_points")
    private BigDecimal costPoints;

}